package com.ordertracker.exception;

import javax.ws.rs.WebApplicationException;
import javax.ws.rs.core.Response;

/**
 * Description of class.
 * Created 2/26/13 2:39 PM
 *
 * @author andrey.rodin@playtech.com
 */

public class ConstraintValueException extends WebApplicationException {
    private static final long serialVersionUID = -8246662391004651315L;

    public ConstraintValueException(Response response) {
        super(response);
    }

    public ConstraintValueException(Throwable cause) {
        super(cause);
    }

    public ConstraintValueException(String message, Response response) {
        this(new RuntimeException(message), response);
    }

    public ConstraintValueException(Throwable cause, Response response) {
        super(cause, response);
    }
}
